#include"mystdio.h"
#include<string.h>

int main()
{
  MyFile* filep = MyFopen("./log.txt", "a");
  if(!filep)
  {
    printf("myfopen error!\n");
    return 1;
  }

  char* msg = (char*)"hello linux!\n";
  MyFwrite(filep, msg, strlen(msg));

  MyFclose(filep);
  return 0;
}
